package com.zyl.file.constant;

/**
 * 状态常量
 *
 * @since 2021/12/22 10:06
 */
public class StateConstants {

    /**
     * 本地存储
     */
    public final static Integer COMMON_STORAGE_TYPE_LOCAL = 0;

    /**
     * 对象存储
     */
    public final static Integer COMMON_STORAGE_TYPE_OBJ = 1;


    /**
     * 消息已读
     */
    public final static Integer READ = 1;
    /**
     * 未读消息
     */
    public final static Integer NOTREAD = 0;

    /**
     * 共用的0
     */
    public static final Integer ZERO = 0;
    /**
     * 共用的4
     */
    public static final Integer FOUR = 4;
    /**
     * 公用的1 2 3
     */
    public static final Integer COMMON_ONE = 1;
    public static final Integer COMMON_TWO = 2;
    public static final Integer COMMON_THREE = 3;
    /**
     * 共用的0
     */
    public static final Integer SUCC = 200;

    /**
     * 共用的常量
     */
    public static final Integer YES = 1;
    public static final Integer NO = 0;

    /**
     * 未删除状态
     */
    public final static int NOTDELETE = 0;

    /**
     * 字符串的长度限定
     */
    public static final Integer LENGTH_MAX_10 = 10;
    public static final Integer LENGTH_MAX_11 = 11;
    public static final Integer LENGTH_MAX_20 = 20;
    public static final Integer LENGTH_MAX_30 = 30;
    public static final Integer LENGTH_MAX_50 = 50;
    public static final Integer LENGTH_MAX_70 = 70;
    public static final Integer LENGTH_MAX_100 = 100;
    public static final Integer LENGTH_MAX_254 = 254;
    public static final Integer LENGTH_MAX_255 = 255;
    public static final Integer LENGTH_MAX_500 = 500;
    public static final Integer LENGTH_MAX_10000 = 10000;

    /**
     * 超级管理员
     */
    public static final Integer LOGIN_TYPE_999 = 999;

    /**
     * 档案顺序号生成位数
     */
    public static final Integer ARCNO_ZERO_NUM = 5;

    /**
     * 登录配置 类型 本地
     */
    public static final String LOGIN_CONFIG_TYPE_BD_STR = "LOGIN_CONFIG_TYPE_BD_STR";
    /**
     * 登录配置 类型 LDAP
     */
    public static final String LOGIN_CONFIG_TYPE_LDAP_STR = "LOGIN_CONFIG_TYPE_LDAP_STR";
    /**
     * 登录配置 激活状态
     */
    public static final Integer LOGIN_TYPE_ACTIVATE = 1;
    public static final Integer LOGIN_TYPE_UNACTIVATE = 0;

    /**
     * 水印配置
     */
    public static final String WATERMARK_PARAM = "WATERMARK_PARAM";

    /**
     * 水印配置
     */
    public static final String WATERMARK_PARAM_SCREEN = "WATERMARK_PARAM_SCREEN";

    /**
     * 水印配置
     */
    public static final String WATERMARK_PARAM_FILE = "WATERMARK_PARAM_FILE";


    /**
     * 水印配置-字号
     */
    public static final String COMMON_WATERMARK_FONTSIZE = "COMMON_WATERMARK_FONTSIZE";


    /**
     * 水印配置-字体
     */
    public static final String COMMON_WATERMARK_FAMILYNAME = "COMMON_WATERMARK_FAMILYNAME";


    /**
     * 管理员账户
     */
    public static final Integer ADMINISTRATORACCOUNT = 1;

    /**
     * 普通账户
     */
    public static final Integer GENERALACCOUNT = 0;
    /**
     * 文件导出类型
     */
    public static final String COMMON_FILE_TYPE = "COMMON_FILE_TYPE";
    /**
     * HTML类型
     */
    public static final String COMMON_FILE_TYPE_HTML = "COMMON_FILE_TYPE_HTML";
    /**
     * WORD类型
     */
    public static final String COMMON_FILE_TYPE_WORD = "COMMON_FILE_TYPE_WORD";
    /**
     * MD类型
     */
    public static final String COMMON_FILE_TYPE_MD = "COMMON_FILE_TYPE_MD";

    public static final String COMMON_DATABASE_TYPE = "COMMON_DATABASE_TYPE";
    public static final String COMMON_DATABASE_TYPE_SYS = "COMMON_DATABASE_TYPE_SYS";
    public static final String COMMON_DATABASE_TYPE_ACC = "COMMON_DATABASE_TYPE_ACC";
    public static final String COMMON_DATABASE_TYPE_ENT = "COMMON_DATABASE_TYPE_ENT";

    /**
     * 90
     */
    public static final Integer NINETY = 90;
    /**270 */
    public static final Integer TWO_HUNDRED_SEVENTY = 270;

    /**
     * 文件转码标识
     */
    public static final String TRANSCODING = "Transcoding";
}
